<div data-errors='<?php echo json_encode($errors)?>'>
		<?php foreach($params['options'] as $optionName => $optionValue) { ?>
		<label ><input type="checkbox" <?php if (in_array($optionName, $value)) {echo 'checked';} ?> 
		name="<?php echo $name ?>[]"
		value="<?php echo $this->txt2attr($optionName) ?>"><?php echo $this->txt2html($optionValue); ?></label>
		<?php } ?>
</div>
